//
//  QYGMachineItemModel.h
//  wawaji_ios
//
//  Created by 云+物娱 on 2017/12/6.
//  Copyright © 2017年 yiguo qi. All rights reserved.
//

@interface PlayerModel : NSObject

//@property (nonatomic, assign) NSInteger device_id;
@property (nonatomic, strong) NSString *avatar;
@property (nonatomic, strong) NSString *nickname;

@end

@interface CameraModel : NSObject

@property (nonatomic, assign) NSInteger device_id;
@property (nonatomic, strong) NSString *type;
// 摄像头的直播 openid
@property (nonatomic, strong) NSString *live_openid;
// 摄像头的 rtmp 流地址
@property (nonatomic, strong) NSString *rtmp_address;
// 摄像头的 hls 流地址
@property (nonatomic, strong) NSString *hls_address;

@end

@interface QYGMachineItemModel : NSObject

/**  娃娃机id */
@property (nonatomic, assign) NSInteger device_id;
/**  房间号 */
@property (nonatomic, assign) NSInteger room_id;
/**  产品名称 */
@property (nonatomic, strong) NSString *name;
/**  设备状态 */
@property (nonatomic, assign) NSInteger device_status;
/**  游戏模式 */
@property (nonatomic, assign) NSInteger game_mode;
/**  游戏时间（秒数 */
@property (nonatomic, assign) NSInteger game_time;
/**  1次消耗游戏币个数 */
@property (nonatomic, assign) NSInteger coin;
/**  设备图片 */
@property (nonatomic, strong) NSString *device_image;
/**  商品图片 */
@property (nonatomic, strong) NSString *ware_image;
/**  排队人数 */
@property (nonatomic, assign) NSInteger queue_length;
/** 当前玩家 */
@property (nonatomic, strong) PlayerModel *player;
/**  娃娃机id */
@property (nonatomic, strong) NSArray *cameras;

@end
